<?php
    $str = "";
    $a = mysqli_connect("localhost","root","gala123456");
    $db = mysqli_select_db($a,"sheep");
    for ($i = 102;$i < 200;$i++) {
        if ($i % 2 == 0) {
            $sql = "DELETE FROM `sheep` WHERE `sheepID` = '$i'";
            $query = mysqli_query($a,$sql);
        }
        
    }
?>